package com.yangmf.auto_message_handle.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MesgDTO", description = "MesgDTO")
public class MesgDTO implements Serializable {
    @Schema(name = "content", description = "内容")
    String content;
    @Schema(name = "messageType", description = "消息类型")
    Integer messageType;
    @Schema(name = "eventType", description = "事件类型")
    Integer eventType;
    @Schema(name = "eventId", description = "事件id")
    Long eventId;
    @Schema(name = "createTime", description = "创建时间")

    LocalDateTime createTime;

}
